package com.coder.rental.mapper;

import com.coder.rental.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhanglin
 * @since 2025-03-16
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /*
    * 根据用户id去查询所有权限(用户表 查 权限表)
    * */
    List<Permission> selectPermissionListByUserId(Integer userId);

}
